package com.gxkj.projects.myshopx.services;

import com.gxkj.common.exceptions.ValidateException;
import com.gxkj.common.utils.ListPager;
import com.gxkj.projects.myshopx.entitys.DbConfig;
import com.gxkj.projects.myshopx.entitys.User;


public interface DbConfigService {

    public void doAddDbConfig(User user , DbConfig entity ) throws ValidateException;

    public void doUpdateDbConfig(User user , DbConfig entity) throws ValidateException;

    public void doDeleteDbConfig(User user, String id );

    public ListPager<DbConfig> doPageHQL(int pagenNo, int pageSize, DbConfig entity);

    public DbConfig getById(String id);
}
